package com.jwd.avmanager.entity;

public class Message {
    private String opCode;
    private int cmd;
    private String content;
    private int UserID;
    private Object value;

    public String getOpCode() {
        return opCode;
    }

    public void setOpCode(String opCode) {
        this.opCode = opCode;
    }

    public int getCmd() {
        return cmd;
    }

    public void setCmd(int cmd) {
        this.cmd = cmd;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getUserID() {
        return UserID;
    }

    public void setUserID(int userID) {
        UserID = userID;
    }

    public Object getValue() {
        return value;
    }

    public void setValue(Object value) {
        this.value = value;
    }

    @Override
    public String toString() {
        return "Message{" +
                "opCode='" + opCode + '\'' +
                ", cmd=" + cmd +
                ", content='" + content + '\'' +
                ", UserID=" + UserID +
                ", value=" + value +
                '}';
    }
}
